package com.groupsix.service.impl;

import com.groupsix.mapper.SysCityMapper;
import com.groupsix.pojo.SysCity;
import com.groupsix.service.SysCityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysCityServiceImpl implements SysCityService {
    @Resource
    private SysCityMapper sysCityMapper;
    @Override
    public List<SysCity> findCityById(int id) {
        List<SysCity> citys = sysCityMapper.findCityByPid(id);
        return citys;
    }
}
